package com.ruoyi.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.domain.ErpPurchaseRequestManagement;
import org.apache.ibatis.annotations.Mapper;

/**
 * 请购单管理Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-17
 */
@Mapper
public interface ErpPurchaseRequestManagementMapper extends BaseMapper<ErpPurchaseRequestManagement>
{
    /**
     * 查询请购单管理
     * 
     * @param id 请购单管理主键
     * @return 请购单管理
     */
    public ErpPurchaseRequestManagement selectErpPurchaseRequestManagementById(String id);

    /**
     * 查询请购单管理列表
     * 
     * @param erpPurchaseRequestManagement 请购单管理
     * @return 请购单管理集合
     */
    public List<ErpPurchaseRequestManagement> selectErpPurchaseRequestManagementList(ErpPurchaseRequestManagement erpPurchaseRequestManagement);

    /**
     * 新增请购单管理
     * 
     * @param erpPurchaseRequestManagement 请购单管理
     * @return 结果
     */
    public int insertErpPurchaseRequestManagement(ErpPurchaseRequestManagement erpPurchaseRequestManagement);

    /**
     * 修改请购单管理
     * 
     * @param erpPurchaseRequestManagement 请购单管理
     * @return 结果
     */
    public int updateErpPurchaseRequestManagement(ErpPurchaseRequestManagement erpPurchaseRequestManagement);

    /**
     * 删除请购单管理
     * 
     * @param id 请购单管理主键
     * @return 结果
     */
    public int deleteErpPurchaseRequestManagementById(String id);

    /**
     * 批量删除请购单管理
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteErpPurchaseRequestManagementByIds(String[] ids);
}
